home *** CD-ROM | disk | FTP | other *** search
/ Floppyshop 2 / Floppyshop - 2.zip / Floppyshop - 2.iso / art&graf.ix / art-3718 / gif2550c / gif2550c.txt < prev    next >
Text File  |  1985-11-19  |  7KB  |  161 lines

  1. GIF2550C
  2. by Martyn Dryden
  3. ================
  4.  
  5. This program for Atari ST series computers is designed to print GIF
  6. (Graphics Interchange Format) files in colour on an H-P DeskJet 550C
  7. printer.
  8.  
  9. There are no fancy options or user adjustments:  pictures are scaled to
  10. fit the page, and that's that.  
  11.  
  12. It has no particular monitor or memory requirements, should work on any
  13. ST, and will print any size GIF file, regardless of whether your ST can
  14. display it.
  15.  
  16. It will alert you to any problem in decoding the GIF.
  17.  
  18. How To Use
  19. ==========
  20.  
  21. Simply double-click on GIF2550C.PRG, and select the file you're
  22. interested in, using the File Selector.
  23.  
  24. Alternatively, if your Desktop supports it (like Neodesk 3, or TOS
  25. version 2 or above), you can drag-and-drop the target GIF file onto the
  26. program icon.
  27.  
  28. Or you can install GIF2550C.PRG as the application for GIF files (see
  29. your ST user manual for details), and then double-click on the GIF file
  30. you wish to print.
  31.  
  32. After a short pause, during which the program examines the GIF file and
  33. displays its type, size and number of colours, two alert boxes appear
  34. in succession.  The first asks you whether you want Draft or High
  35. quality printing.  The second asks you which type of media you are
  36. using:  Transparency, Glossy, or Plain paper.
  37.  
  38. The defaults (which can be selected by pressing Return in each case)
  39. are for printing in High quality on Plain paper.
  40.  
  41. After you select your two options, the program goes to work, printing
  42. your picture.  It takes a few minutes, depending on the size of the
  43. picture, the type of media, and the model of ST you're using.  If you
  44. wish to stop printing, press the ST's UNDO key.
  45.  
  46. The filename, size and number of colours, and a short message about the
  47. program, are printed below the picture.
  48.  
  49. When printing is finished, the page is ejected from the printer, and
  50. the program exits.
  51.  
  52. If an error occurs, such as a problem decoding the GIF, a disk error or
  53. a printer error, or the program is stopped using UNDO, then a message
  54. is displayed to this effect, and the program waits for you to press a
  55. key before exiting.
  56.  
  57. Thanks for using GIF2550C, and I hope you enjoy it.
  58.  
  59. Program notes
  60. =============
  61.  
  62. As you may know, GIF stands for 'Graphics Interchange Format'.  This is
  63. an industry-standard picture file format developed for the CompuServe
  64. online system with the aim of making it possible for users of different
  65. computers to freely exchange picture files.
  66.  
  67. GIF files are compressed using a version of the Lempel-Ziv-Welch method
  68. (as used in LHARC).  This is an efficient way to compress arbitrary
  69. data.  The files take a minimum of disk space for storage, and/or
  70. online time for transmission via modem.  There is very little to be
  71. gained by trying to compress them further.
  72.  
  73. The format allows pictures to be any size, and to have up to 256
  74. colours, chosen from 16.7 million possible colours.  The specification
  75. is copyright by CompuServe, but freely available to programmers.
  76.  
  77. GIF2550C has printed all the GIF files I've tried on it, with no
  78. problems.  Unlike some other programs, it will work with both the
  79. GIF87a and GIF89a file specifications (and any future variations, as
  80. far as I can tell).  It will gracefully handle (ignore) any extension
  81. blocks in the file.
  82.  
  83. However, it will definitely not work with 'Interlaced' GIF files -
  84. those designed to be progressively displayed while being downloaded
  85. from bulletin boards (using suitable software).  In these files, the
  86. scan-rows are not stored in sequential order.  GIF2550C requires
  87. sequential scan-rows, because it does not store the picture in memory,
  88. but discards each row after printing it (to allow large GIFs to be
  89. printed using minimum memory).
  90.  
  91. This shouldn't be a problem:  I've never actually seen an interlaced
  92. GIF file.  If you should venture upon one, my suggestion would be to
  93. load it into a program such as ViewGIF or GEMview, and re-save it.
  94.  
  95. Options and adjustments ... there aren't any, except for Quality and
  96. Media as described earlier.  The aim was to keep it simple and provide
  97. the best possible all-round results.
  98.  
  99. For the technical ... the program uses the Bayer (fixed pattern) dither
  100. method to turn the GIF picture's 256 24-bit colours into a pattern of
  101. dots in the DeskJet's four ink colours.  Before doing so, it applies
  102. gamma correction to the colours.  The value of Gamma is fixed at 0.35,
  103. based on a subjective assessment.
  104.  
  105. The GIF decoder is based on DECODE.C, an LZW decoder for GIF, copyright
  106. (c) 1987 by Steven A. Bennett.
  107.  
  108. In accordance with H-P's recommendations, a gap of two pixels is left
  109. between any dot of Black ink and an adjacent coloured dot.  The inks
  110. are chemically incompatible and should not be allowed in contact.
  111.  
  112. The Black ink is used only for areas of pure black (RGB = 000) in the
  113. picture.  Although it would be possible to dither the black ink to
  114. create shades of grey, in my experience such areas have a strange
  115. appearance, presumably because of the chemical difference between the
  116. black and coloured inks mentioned above.  Therefore, greys are dithered
  117. from coloured ink.
  118.  
  119. The difference in the Quality and Media settings are in the levels of
  120. Shingling and Depletion applied, as follows:
  121.  
  122.     Plain        Glossy        Transparency
  123.     =====        ======        =============
  124.  
  125. Draft    Shingling: 0    Shingling: 25%    Shingling: 50%
  126. quality    Depletion: 50%    Depletion: 25%    Depletion: 25%
  127.  
  128. Best    Shingling: 50%    Shingling: 25%    Shingling: 25%
  129. quality    Depletion: 25%    Depletion: 0    Depletion: 0
  130.  
  131. These are in accordance with H-P's recommendations as far as I can
  132. understand them.  Grey balancing is performed by the printer.
  133.  
  134. If you haven't already tried it, please print one (at least) of your
  135. favourite GIFs on H-P's special paper, 51636J LX JetSeries Glossy
  136. Paper.  You may have received a sample of this paper with your printer. 
  137. It's not cheap, but it's so-o-o-o good!
  138.  
  139. Legal Matters
  140. =============
  141.  
  142. This program was written by Martyn Dryden and is copyright (c) 1993,
  143. Rufus Developments.
  144.  
  145. It may be freely used and distributed, provided that (1) neither the
  146. program nor this file is modified in any way, (2) no charge is made for
  147. the program, other than a reasonable distribution charge, and (3) Rufus
  148. Developments will not be liable for damage, including consequential
  149. damage, arising from its use.
  150.  
  151. Permission is required for commercial distribution, including magazine
  152. cover disks.  (Such permission will not be unreasonably withheld.)
  153.  
  154. GIF and 'Graphics Interchange Format' are Trade Marks of CompuServe,
  155. Incorporated, an H & R Block Company.
  156.  
  157. Rufus Developments is a Trade Mark.
  158.  
  159. Rufus is an Abyssinian cat.
  160.  
  161.